package com.ruoyi.test.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 测试问题库对象 mh_test_question
 * 
 * @author ruoyi
 * @date 2025-11-23
 */
public class MhTestQuestion extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 问题文本 */
    @Excel(name = "问题文本")
    private String text;

    /** 选项A */
    @Excel(name = "选项A")
    private String optionA;

    /** 选项B */
    @Excel(name = "选项B")
    private String optionB;

    /** 维度 */
    @Excel(name = "维度")
    private String dimension;

    /** 选A的分数 */
    @Excel(name = "选A的分数")
    private String scoreIfA;

    /** 选B的分数 */
    @Excel(name = "选B的分数")
    private String scoreIfB;

    /** 状态（0禁用 1启用） */
    @Excel(name = "状态", readConverterExp = "0=禁用,1=启用")
    private Long status;

    /** 版本号 */
    @Excel(name = "版本号")
    private Long version;

    /** 排序 */
    @Excel(name = "排序")
    private Long sort;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setText(String text) 
    {
        this.text = text;
    }

    public String getText() 
    {
        return text;
    }

    public void setOptionA(String optionA) 
    {
        this.optionA = optionA;
    }

    public String getOptionA() 
    {
        return optionA;
    }

    public void setOptionB(String optionB) 
    {
        this.optionB = optionB;
    }

    public String getOptionB() 
    {
        return optionB;
    }

    public void setDimension(String dimension) 
    {
        this.dimension = dimension;
    }

    public String getDimension() 
    {
        return dimension;
    }

    public void setScoreIfA(String scoreIfA) 
    {
        this.scoreIfA = scoreIfA;
    }

    public String getScoreIfA() 
    {
        return scoreIfA;
    }

    public void setScoreIfB(String scoreIfB) 
    {
        this.scoreIfB = scoreIfB;
    }

    public String getScoreIfB() 
    {
        return scoreIfB;
    }

    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    public void setVersion(Long version) 
    {
        this.version = version;
    }

    public Long getVersion() 
    {
        return version;
    }

    public void setSort(Long sort) 
    {
        this.sort = sort;
    }

    public Long getSort() 
    {
        return sort;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("text", getText())
            .append("optionA", getOptionA())
            .append("optionB", getOptionB())
            .append("dimension", getDimension())
            .append("scoreIfA", getScoreIfA())
            .append("scoreIfB", getScoreIfB())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("status", getStatus())
            .append("version", getVersion())
            .append("sort", getSort())
            .toString();
    }
}
